OPC Studio User's Guide and Reference
UAServerOnNetwork Constructor(Int64,String,String,IEnumerable<String>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UAServerOnNetwork Class > UAServerOnNetwork Constructor : UAServerOnNetwork Constructor(Int64,String,String,IEnumerable<String>)
A unique identifier for the record.
The name of the server specified in the mDNS announcement.

The value of this parameter cannot be null (Nothing in Visual Basic).

The URL of the discovery endpoint.

The value of this parameter cannot be null (Nothing in Visual Basic).

The Server capabilities supported by the Server.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, specifying its individual properties.
Syntax
'Declaration
 
Public Function New( _
   ByVal recordId As Long, _
   ByVal serverName As String, _
   ByVal discoveryUrlString As String, _
   ByVal serverCapabilities As IEnumerable(Of String) _
)
'Usage
 
Dim recordId As Long
Dim serverName As String
Dim discoveryUrlString As String
Dim serverCapabilities As IEnumerable(Of String)
 
Dim instance As New UAServerOnNetwork(recordId, serverName, discoveryUrlString, serverCapabilities)

Parameters

recordId
A unique identifier for the record.
serverName
The name of the server specified in the mDNS announcement.

The value of this parameter cannot be null (Nothing in Visual Basic).

discoveryUrlString
The URL of the discovery endpoint.

The value of this parameter cannot be null (Nothing in Visual Basic).

serverCapabilities
The Server capabilities supported by the Server.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also